import { http } from "../../http";

// 库存管理-盘点单分页查询
export function listInventoryPage(data: object) {
  return http({ url: "/api/listInventoryPage", data });
}
//盘点单批量删除
export function BatchdeleteInventory(data: object) {
  return http({ url: "/api/deleteInventoryAll", data });
}
//盘点单删除
export function DeleteInventory(data: object) {
  return http({ url: "/api/deleteInventory", data });
}
/**************************盘点单新增详情页***********************/

// 盘点单新增
export function AddInventory(data: object) {
  return http({ url: "/api/saveInventory", data });
}
// 盘点单修改
export function UpdateInventory(data: object) {
  return http({ url: "/api/updateInventory", data });
}
//盘点单查询详情
export function getInventoryDetail(data: object) {
  return http({ url: "/api/findInventory", data });
}
//盘点单提交
export function submitInventory(data: object) {
  return http({ url: "/api/submitInventoryGoods", data });
}

// 盘点单物资列表
export function getAddGoodsList(data: object) {
  return http({ url: "/api/listInventoryGoodsPage", data });
}
